<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="/static/js/vue.js"></script>
    <script src="/static/js/jquery-3.4.1.min.js"></script>
</head>
<body>

<div id="aaa">
    <div v-for="item in data1">{{ item.title }}</div>
</div>


<script>
    var pageBar = new Vue({
        el: '#aaa',
        data: {
            data1 :[1,2222]
        },
        methods: {
            phone:function(){
                $.ajax({
                    url:"/showSix/",
                    data:{"a":this.dataa},
                    type:"GET",
                    dataType:"json",
                    success:function(result) {
                        //for(var i = 0;i < result.length; i++){
                        //pageBar.data1.push(result[i])
                        //}
                        console.log(this)
                    }
                })
            },


        }
    })

    pageBar.phone();
</script>
</body>
</html>



